package com.example.lenovo.downloaddemo.bean;

import java.util.List;

public class RankInfoBean {

    /**
     * msg : 查询成功
     * code : 200
     * data : {"goodsList":[{"good_id":11,"good_name":"QQ","good_name_en":"QQ","good_pic":"/uploads/20190312/d8037c3a471fb78048b5287a51c3711b.png","category_id":"17","download_num":0,"name":"社交精选"},{"good_id":12,"good_name":"微聊","good_name_en":"WebChat","good_pic":"/uploads/20190312/d8037c3a471fb78048b5287a51c3711b.png","category_id":"17","download_num":0,"name":"社交精选"}],"rankBanner":[{"bid":1,"pic":"/uploads/20190306/e426496707075faab047a2f319662b21.png","pic_url":"http://www.baidu.com","createtime":1551835412,"updatetime":1551842193},{"bid":2,"pic":"/uploads/20190306/eae4e7e38143a7c6d1a8a811ba72bfd2.png","pic_url":"http://www.baidu.com","createtime":1551835537,"updatetime":1551835537},{"bid":3,"pic":"/uploads/20190306/911b5c008cae4507d3c35563479ee9fb.jpg","pic_url":"http://www.baidu.com","createtime":1551842183,"updatetime":1551842183}]}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<GoodsListBean> goodsList;
        private List<RankBannerBean> rankBanner;

        public List<GoodsListBean> getGoodsList() {
            return goodsList;
        }

        public void setGoodsList(List<GoodsListBean> goodsList) {
            this.goodsList = goodsList;
        }

        public List<RankBannerBean> getRankBanner() {
            return rankBanner;
        }

        public void setRankBanner(List<RankBannerBean> rankBanner) {
            this.rankBanner = rankBanner;
        }

        public static class GoodsListBean {
            /**
             * good_id : 11
             * good_name : QQ
             * good_name_en : QQ
             * good_pic : /uploads/20190312/d8037c3a471fb78048b5287a51c3711b.png
             * category_id : 17
             * download_num : 0
             * name : 社交精选
             */

            private int good_id;
            private String good_name;
            private String good_name_en;
            private String good_pic;
            private String category_id;
            private int download_num;
            private String name;

            public int getGood_id() {
                return good_id;
            }

            public void setGood_id(int good_id) {
                this.good_id = good_id;
            }

            public String getGood_name() {
                return good_name;
            }

            public void setGood_name(String good_name) {
                this.good_name = good_name;
            }

            public String getGood_name_en() {
                return good_name_en;
            }

            public void setGood_name_en(String good_name_en) {
                this.good_name_en = good_name_en;
            }

            public String getGood_pic() {
                return good_pic;
            }

            public void setGood_pic(String good_pic) {
                this.good_pic = good_pic;
            }

            public String getCategory_id() {
                return category_id;
            }

            public void setCategory_id(String category_id) {
                this.category_id = category_id;
            }

            public int getDownload_num() {
                return download_num;
            }

            public void setDownload_num(int download_num) {
                this.download_num = download_num;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class RankBannerBean {
            /**
             * bid : 1
             * pic : /uploads/20190306/e426496707075faab047a2f319662b21.png
             * pic_url : http://www.baidu.com
             * createtime : 1551835412
             * updatetime : 1551842193
             */

            private int bid;
            private String pic;
            private String pic_url;
            private int createtime;
            private int updatetime;

            public int getBid() {
                return bid;
            }

            public void setBid(int bid) {
                this.bid = bid;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getPic_url() {
                return pic_url;
            }

            public void setPic_url(String pic_url) {
                this.pic_url = pic_url;
            }

            public int getCreatetime() {
                return createtime;
            }

            public void setCreatetime(int createtime) {
                this.createtime = createtime;
            }

            public int getUpdatetime() {
                return updatetime;
            }

            public void setUpdatetime(int updatetime) {
                this.updatetime = updatetime;
            }
        }
    }
}
